package com.newtouch.bxzs.database.service;

import com.newtouch.bxzs.database.model.bo.MenuButtonBO;
import com.newtouch.bxzs.database.model.bo.MenuTreeBO;

import java.util.List;

/**
 * 菜单Service接口:
 *
 * <p>
 * <b>History:</b>
 * <table border="1">
 * <tr>
 * <th>Date</th>
 * <th>Operator</th>
 * <th>Memo</th>
 * </tr>
 * <tr>
 * <td>2021/1/5 10:29</td>
 * <td>zhangqianyang</td>
 * <td>Create</td>
 * </tr>
 * </table>
 *
 * @author zhangqianyang
 * @version 1.0.0
 * @since 1.0.0
 */
public interface MenuService {
    /**
     * 获取菜单树
     * @param terminalType 终端类型
     * @return List<MenuTreeBO>
     */
    List<MenuTreeBO> getMenuList(String terminalType);

    /**
     * 获取选中菜单的按钮列表
     * @param menuIdList 菜单id
     * @return List<MenuButtonBO>
     */
    List<MenuButtonBO> getMenuButtonList(List<String> menuIdList);
}
